<?php

class Zendhlt_Form_Element_Upload extends Zend_Form_Element_Xhtml {
	
    public $helper = "uploadElement";
    protected $filename = null;

    function setFileName($name) {
        $this->filename = $name;
        return $this;
    }

    public function setValue($value) {
        if (!is_array($value) && isset($value['filename'])) {
			$this->setFileName($value);
        }
    }

    public function getValue() {
        return $this->filename;
    }
}

